// Copyright (c) 2022 NetEase, Inc. All rights reserved.
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.

package com.netease.yunxin.kit.entertainment.common.smartrefresh.api;

import static androidx.annotation.RestrictTo.Scope.LIBRARY;
import static androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP;
import static androidx.annotation.RestrictTo.Scope.SUBCLASSES;

import androidx.annotation.RestrictTo;

/** 刷新底部 Created by scwang on 2017/5/26. */
public interface RefreshFooter extends RefreshComponent {

  /**
   * 【仅限框架内调用】设置数据全部加载完成，将不能再次触发加载功能
   *
   * @param noMoreData 是否有更多数据
   * @return true 支持全部加载完成的状态显示 false 不支持
   */
  @RestrictTo({LIBRARY, LIBRARY_GROUP, SUBCLASSES})
  boolean setNoMoreData(boolean noMoreData);
}
